package com.anolesoft.yr.mbus.cont.service.impl;

import com.anolesoft.yr.mbus.cont.service.ContKeyCustomerMainService;
import com.anolesoft.yr.mbus.contm.entity.ContmBaseMain;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.stereotype.Service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.anolesoft.yr.mbus.cont.entity.ContKeyCustomerMain;
import com.anolesoft.yr.mbus.cont.dao.ContKeyCustomerMainDao;
import com.anolesoft.yr.mbus.cont.entity.ContKeyCustomerMainExample;

@Service
public class ContKeyCustomerMainServiceImpl extends ServiceImpl<ContKeyCustomerMainDao, ContKeyCustomerMain> implements ContKeyCustomerMainService {

    @Override
    public long countByExample(ContKeyCustomerMainExample example) {
        return baseMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(ContKeyCustomerMainExample example) {
        return baseMapper.deleteByExample(example);
    }

    @Override
    public List<ContKeyCustomerMain> selectByExample(ContKeyCustomerMainExample example) {
        return baseMapper.selectByExample(example);
    }

    @Override
    public int updateByExampleSelective(ContKeyCustomerMain record, ContKeyCustomerMainExample example) {
        return baseMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(ContKeyCustomerMain record, ContKeyCustomerMainExample example) {
        return baseMapper.updateByExample(record, example);
    }

    @Override
    public int updateBatch(List<ContKeyCustomerMain> list) {
        return baseMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<ContKeyCustomerMain> list) {
        return baseMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(ContKeyCustomerMain record) {
        return baseMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(ContKeyCustomerMain record) {
        return baseMapper.insertOrUpdateSelective(record);
    }

    @Override
    public List<ContKeyCustomerMain> selectAll(Page<ContKeyCustomerMain> page, LambdaQueryWrapper<ContKeyCustomerMain> like) {
            return baseMapper.selectAll( page, like);

    }
}

